using System;
using System.Data;
using System.Configuration;
using System.Collections;

using DAL;
using DL;
/// <summary>
/// Summary description for UserBL
/// </summary>
namespace BL 
{
    public class UserBL  
    {
    	#region Private Variables
		UserDAL objUserDAL;
		#endregion
		
        #region Public Constructors
        public UserBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objUserDAL=new UserDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(UserDL objUserDL)
        {
            return objUserDAL.Insert(objUserDL);
        }

        public int Update(UserDL objUserDL)
        {
             return objUserDAL.Update(objUserDL);

        }

        public int Delete(UserDL objUserDL)
        {
             return objUserDAL.Delete(objUserDL);

        }

         public int DeleteAll()
        {
             return objUserDAL.DeleteAll();
        }

        public UserDL Select(UserDL objUserDL)
        {
            return objUserDAL.Select(objUserDL);
        }

        public ArrayList SelectAll1( )
        {
         return objUserDAL.SelectAll1();
        }
        
        public DataTable SelectAll( )
        {
         return objUserDAL.SelectAll();
        }


     
#endregion          
    
    }

}
